home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / languages / ami_nuweb0.87c.lha / global.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-12  |  804 b   |  37 lines

  1. #ifdef _AMIGA
  2. #define STRINGARRAY 1
  3. #endif
  4. #include "global.h"
  5. int tex_flag = TRUE;
  6. int html_flag = FALSE;
  7. int output_flag = TRUE;
  8. int compare_flag = TRUE;
  9. int verbose_flag = FALSE;
  10. int number_flag = FALSE;
  11. char *command_name = NULL;
  12. char *source_name = NULL;
  13. int source_line = 0;
  14. int already_warned = 0;
  15. Name *file_names = NULL;
  16. Name *macro_names = NULL;
  17. Name *user_names = NULL;
  18. #ifdef _AMIGA
  19. struct Library *LocaleBase; /* pointer to the locale library */
  20. struct Catalog *catalog; /* pointer to the external catalog, when present */
  21. int i; /* global counter for list of strings */
  22. #endif
  23.  
  24. #ifdef _AMIGA
  25. void CloseSystemResources(void) {
  26.   if(LocaleBase) {
  27.     CloseCatalog(catalog);
  28.     CloseLibrary(LocaleBase);
  29.   }
  30. }
  31. #endif
  32. #ifdef _AMIGA
  33. void catch_break(int dummy) {
  34.   exit(EXIT_FAILURE);
  35. }
  36. #endif
  37.